package com.summer.reggie;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 作者:夏天
 * qq:1205232048
 */
@Slf4j//相当于log4j 一种日志输出
@ServletComponentScan//去扫描一些Servlet的组件  这里扫描的是过滤器中的WebFilter注解
@SpringBootApplication
@EnableTransactionManagement//开启事务管理
public class ReggieApplication {
    public static void main(String[] args) {
        SpringApplication.run(ReggieApplication.class,args);
        log.info("项目启动成功!");
    }
}
